package com.woniu.Service;

import com.github.pagehelper.PageInfo;
import com.woniu.entity.FlowerComment;
import com.woniu.vo.FlowerCommentVo;

/**
 * @Author:Gwj
 * @Date:2024/7/6 10:34
 */
public interface FlowerCommentService {
    // 查询所有花的评论 分页查询
    PageInfo<FlowerCommentVo> findAllFlowerComments(int pageNum, int pageSize) throws Exception;

    // 查询所有花的评论 按条件查询 分页查询
    PageInfo<FlowerCommentVo> findAllFlowerCommentsByConditions(FlowerCommentVo flowerCommentVo, int pageNum, int pageSize) throws Exception;

    //删除评论 逻辑删除
    int changeFlowerCommentIsDelete(FlowerComment flowerComment) throws Exception;

    //回复评论 把isdelete 改为0
    int replyFlowerComment(FlowerComment flowerComment) throws Exception;
}
